﻿<Application x:Class="WPFDemoApp.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:vm="clr-namespace:WPFDemoApp.ViewModel"
             xmlns:view="clr-namespace:WPFDemoApp.View"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MMLib.WPF;component/Themes/Generic.xaml" />
            </ResourceDictionary.MergedDictionaries>

            <DataTemplate DataType="{x:Type vm:DateTimeControlDemoVM}">
                <view:DateTimeControlView />
            </DataTemplate>

            <DataTemplate DataType="{x:Type vm:NavigationDemoViewModel}">
                <view:NavigationDemoView />
            </DataTemplate>
        </ResourceDictionary>
    </Application.Resources>
</Application>
